package uit.edu.vn.portal.elearning.models.assignment;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;


@Root(name="assignment")
public class Assignment {
	
	@Attribute(name="id")
	private String id;
	
	@Attribute(name="title",required=false)
	private String title;
	
	@Attribute(name="siteid",required=false)
	private String siteid;
	
	@Attribute(name="pageUrl",required=false)
	private String pageUrl;
	
	@Attribute(name="status",required=false)
	private String status;
	
	@Attribute(name="creator",required=false)
	private String creator;
	
	@Attribute(name="gradeType",required=false)
	private int gradeType;
	
	@Attribute(name="gradeTypeDescription",required=false)
	private String gradeTypeDescription;
	
	@Attribute(name="maxGradePointDisplay",required=false)
	private String maxGradePointDisplay;
	
	@Attribute(name="allowAttachments",required=false)
	private boolean allowAttachments;
	
	@Attribute(name="maxGradePoint",required=false)
	private int maxGradePoint;
	
	@Attribute(name="typeOfSubmission",required=false)
	private int typeOfSubmission;
	
	@Attribute(name="releaseGrades",required=false)
	private boolean releaseGrades;
	
	@Attribute(name="openTime",required=false)
	private long openTime;
	
	@Attribute(name="closeTime",required=false)
	private long closeTime;
	
	@Attribute(name="dueTime",required=false)
	private long dueTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getSiteid() {
		return siteid;
	}

	public void setSiteid(String siteid) {
		this.siteid = siteid;
	}

	public String getPageUrl() {
		return pageUrl;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public int getGradeType() {
		return gradeType;
	}

	public void setGradeType(int gradeType) {
		this.gradeType = gradeType;
	}

	public String getGradeTypeDescription() {
		return gradeTypeDescription;
	}

	public void setGradeTypeDescription(String gradeTypeDescription) {
		this.gradeTypeDescription = gradeTypeDescription;
	}

	public String getMaxGradePointDisplay() {
		return maxGradePointDisplay;
	}

	public void setMaxGradePointDisplay(String maxGradePointDisplay) {
		this.maxGradePointDisplay = maxGradePointDisplay;
	}

	public boolean isAllowAttachments() {
		return allowAttachments;
	}

	public void setAllowAttachments(boolean allowAttachments) {
		this.allowAttachments = allowAttachments;
	}

	public int getMaxGradePoint() {
		return maxGradePoint;
	}

	public void setMaxGradePoint(int maxGradePoint) {
		this.maxGradePoint = maxGradePoint;
	}

	public int getTypeOfSubmission() {
		return typeOfSubmission;
	}

	public void setTypeOfSubmission(int typeOfSubmission) {
		this.typeOfSubmission = typeOfSubmission;
	}

	public boolean isReleaseGrades() {
		return releaseGrades;
	}

	public void setReleaseGrades(boolean releaseGrades) {
		this.releaseGrades = releaseGrades;
	}

	public long getOpenTime() {
		return openTime;
	}

	public void setOpenTime(long openTime) {
		this.openTime = openTime;
	}

	public long getCloseTime() {
		return closeTime;
	}

	public void setCloseTime(long closeTime) {
		this.closeTime = closeTime;
	}

	public long getDueTime() {
		return dueTime;
	}

	public void setDueTime(long dueTime) {
		this.dueTime = dueTime;
	}

}
